<?php

namespace app\admin\validate;

use think\Validate;

class Outlink extends Validate
{
    protected $rule = [
        'title' => 'require',
        'url' => 'require|url',
    ];

    protected $message = [
        'title.require' => '名称不能为空',
        'url.require' => '链接不能为空',
        'url.url' => '链接不是个有效的链接',
    ];

   
}